package joc;

import java.lang.annotation.Annotation;

import joc.contract.Contract;
import joc.contract.ForParameterInsertAtBeginningOfMethod;

@JOCEnabled
public class DummyContract implements Contract {
	@Override
	public Class<? extends Annotation> getAnnotationClass() {
		return DummyAnnotation.class;
	}
	
	@ForParameterInsertAtBeginningOfMethod
	public boolean expectIntAsSecondParameter(DummyAnnotation annotation, int value) {
		return annotation.value() == value;
	}
}